import LangEn from './en.js'
import LangChs from './zh.js'
import Vue from 'vue'
import VueI18n from './vue-i18n'
Vue.use(VueI18n)
const system_info = uni.getStorageSync('system_info')
if (!system_info) {
		uni.setStorageSync('system_info','zh_CN')
}
const i18n = new VueI18n({
		locale: system_info || 'zh_CN',  // 默认选择的语言
		messages: {  
						'en': LangEn,
						'zh_CN': LangChs
				}
})
export default i18n